#ifndef COMMON_HH_
# define COMMON_HH_

/** misc constants files
 ** *BEFORE* adding a constant here,
 ** 	consider adding it in another constant file
 ** 	or creating a new constant file
 */

/* cd use xml 4 keys
** *_DEFAULT_* => user cd modify values
*/


// LANGUAGE
// value == column offset in DB
# define LANGUAGE_ENGLISH	0
# define LANGUAGE_FRENCH	1


// MENU
# define MENU_NONE			0x00
# define MENU_TITLE			0x01
# define MENU_PAUSE			0x02
# define MENU_BLACKMARKET	0x04
# define MENU_TRADE			0x08


/// thin health band between life and death (percentage ?)
# define HEALTH_MARGIN_DOWN 5


// PHYSICS
# define PHYSICS_GRAVITY 9.81 // need a more accurate value


// AFFINITY
# define AFFINITY_BLACKMARKET // really usefull ?



// ____________________________________________________________________________
//			ALIASES
// ____________________________________________________________________________

// tmp rm

typedef struct Vector2
{
  float x;
  float y;
} Vector2;

// end tmp rm


typedef Vector2 Coords2D; // useful ?

#endif /* !COMMON_HH_ */
